import requests
def get(url, headers, isVerify=True):

    try:
        # start 获取文件的value
        response = requests.get(url, headers=headers, verify=isVerify)
        return response
    except requests.exceptions.HTTPError as errh:
        print(f"HTTP错误: {errh}")
        input("按任意键退出")
        exit()
    except requests.exceptions.ConnectionError as errc:
        print(f"连接错误: {errc}")
        input("按任意键退出")
        exit()
    except requests.exceptions.Timeout as errt:
        print(f"超时错误: {errt}")
        input("按任意键退出")
        exit()
    except requests.exceptions.RequestException as err:
        print(f"请求异常（请尝试更新Cookie）: {err}")
        input("按任意键退出")
        exit()
    except ValueError as err:
        print(f"JSON解析错误: {err}")
        input("按任意键退出")
        exit()
    except Exception as e:
        print(f"未知错误: {e}")
        input("按任意键退出")
        exit()